package textui;

import java.util.HashMap;

public class ProxyUIElement extends UIElement{
	public ProxyUIElement(HashMap<String, Object> data) {
		super(data);
	}

	UIElement _element;
	public void setElement(UIElement e)
	{
		_element = e;
	}
	public boolean equals(Object arg0) {
		return _element.equals(arg0);
	}

	public int hashCode() {
		return _element.hashCode();
	}

	public UIElement run() {
		return _element.run();
	}

	public String toString() {
		return _element.toString();
	}
}
